/**
 *@ClassName ConditionDemo2
 *
 *@Author ykx
 *@Date  2024/6/17 14:46
 *@Version 1.0
 */
fun main(args: Array<String>) {
    var a = 14
    var b = 10
    println("${a}和${b}较大的那个数的值为${returnMax(a, b)}")
}

fun returnMax(a: Int, b: Int): Int {
    return if (a > b) a else b
}